#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H

#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QWidget>

class LoginWindow : public QWidget
{
    Q_OBJECT
public:
    LoginWindow(QWidget *parent,const QString &url);
    ~LoginWindow();
private :
    QString url_;
    QVBoxLayout *v_container;
    QGridLayout *info_container;
    QLabel *label_user_name;
    QLineEdit *edit_user_name;
    QHBoxLayout *h_button_container;
    QPushButton *button_login,*button_exit;
public slots:
    void on_login_click(bool);
    void on_exit_click();
};
#endif // LOGINWINDOW_H
